package com.tang.model.v1;

import com.tang.model.domain.Member;

import java.util.Objects;

/**
 * @Author tangyuan2meicloud.com
 * @DATE 2021/9/2 20:09
 * @Desc
 * @Remarks
 */
public  class LoginHandler extends Handler {

    @Override
    public void exec(Member member) {
        System.out.println("登录操作");

        System.out.println("校验成功");

        member.setRoleName("管理员");

        if (handler != null) {
            handler.exec(member);
        }
    }
}
